home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
text1
/
cms_help_files
/
incl.helpmark
< prev
next >
Wrap
Text File
|
1991-10-23
|
4KB
|
90 lines
+-----------------------------------------------------------------------------+
| include |
+-----------------------------------------------------------------------------+
Abbreviation: π|\inclπ%
Parameters: π|page segment nameπ%
π|Description:π%
The \include markup will include external page segment files, into a TEXT1
document. Page segments come from graphics generating programs such as
those produced by GDDM, SAS and MEGACALC. Refer to the GDDM Page Segment
Generation for the IBM 3820 User Note, U-419, for details on how to create a
page segment.
The format for the \include markup is:
\include{fn}
Where fn is the filename of the file to be included into the text
document. It must have a filetype of "PSEG3820". You must leave space
after the page segment to prevent the image from overprinting the following
text of the document.
π|Example:π%
A file called "GRAPH1 PSEG3820 A" contains a SAS/GRAPH image. It is 2 1 2
inches high, so you would enter:
. . . in the graph illustrated below:
\par
\include{graph1}
\vs{3.5in}
\noindent
Notice the values on the Y axis, they . . .
In the document you would get:
+-----------------------------------------------------------------------------+
| |
| . . . in the graph illustrated below: |
| |
| |
| WWW W WWW SSSSSS UUU UUU |
| WWW WWW WWW SSSSS UUU UUU |
| WWWWWWW SSSSSS UUU UUU |
| WWWWW SSSSSSSS UUUUUUUUUU |
| |
| |
| Notice the values on the Y axis, they . . . |
| |
+-----------------------------------------------------------------------------+
π|Example:π%
Sometimes you may want to center the graph on the page. To do this you
would subtract the width of the graph from the galleywidth(1) and divide the
difference by 2; then you would do a horizontal skip of that amount (after
entering \null. For the above graph, the galleywidth is 25 picas, the width
of the "graph1" is 19 picas, so the indent is to be 3 picas ( 25pc-19pc
2=3pc ):
| . . in the graph illustrated below: |
\par
\noindent\hs{3pc}
\include{graph1}
\vs{3.5in}
\noindent
Notice the values on the Y axis, they . . .
+-----------------------------------------------------------------------------+
1. galleywidth=page width - left margin - right margin
In the document you would get the same graph as above, centered on the page.
Refer to the example below:
+-----------------------------------------------------------------------------+
| |
| . . . in the graph illustrated below: |
| |
| WWW W WWW SSSSSS UUU UUU |
| WWW WWW WWW SSSSS UUU UUU |
| WWWWWWW SSSSSS UUU UUU |
| WWWWW SSSSSSSS UUUUUUUUUU |
| |
| |
| Notice the values on the Y axis, they . . . |
| |
+-----------------------------------------------------------------------------+
π|Notes:π%
none.